package com.hdcircles.autoform.dagger.component;

import android.app.Activity;

import com.hdcircles.autoform.dagger.FragmentScope;
import com.hdcircles.autoform.dagger.module.FragmentModule;
import com.hdcircles.autoform.ui.label.fragment.MyLabelsFragment;
import com.hdcircles.autoform.ui.label.fragment.ShareLabelFragment;
import com.hdcircles.autoform.ui.main.fragment.UserFragment;

import dagger.Component;

/**
 * Created by hdcircles on 2016/9/21.
 */
@FragmentScope
@Component(dependencies = AppComponent.class,modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    void inject(ShareLabelFragment shareLabelFragment);

    void inject(MyLabelsFragment myLabelsFragment);

    void inject(UserFragment userFragment);
}
